from django.contrib import admin
from muser.models import User, UserProfile

class UserProfileInline(admin.StackedInline):
    model = UserProfile
    extra = 1 

class UserAdmin(admin.ModelAdmin):
    inlines = [UserProfileInline]

admin.site.unregister(User)
admin.site.register(User, UserAdmin)
